<%@page import="com.bci.pwtz.mysql.model.AdminUser"%>
<%@page import="com.bci.pwtz.common.PWTZJspWriter"%>
<%@page import="com.bci.pwtz.service.CompanyUserService"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.bci.pwtz.mysql.model.CompanyUser"%>
<%@ page import="com.bci.pwtz.common.util.CookieUtil" %>
<%@ page import="com.bci.pwtz.common.util.SpringUtil" %>
<%@ page import="com.bci.pwtz.common.ActionCodeConstants" %>
<%@page import="com.bci.pwtz.service.CompanyRoleService"%>
<META http-equiv="X-UA-Compatible" content="IE=9" ></META>
<%	
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
	AdminUser user = (AdminUser) session.getAttribute("adminuser");
	CompanyRoleService commonCompanyRoleService = (CompanyRoleService)SpringUtil.getBean("companyRoleService");
	CompanyUserService userService = (CompanyUserService)SpringUtil.getBean("companyUserService");
	Long adminId=null;
	if(user!=null){
	    adminId = user.getAdminUserId();
	}
	out = new PWTZJspWriter(out);
%>
<script type="text/javascript">
<!--
//var contextPath = "${ctx}";
var contextPath = "${pageContext.request.contextPath}/";
var cookiePath = "<%=path%>";
var basePath = "<%=basePath%>";
//-->
</script>